//
//  MainPageController.swift
//  民生生活
//
//  Created by apple on 2017/8/7.
//  Copyright © 2017年 youjindi.app.com. All rights reserved.
//

import UIKit

class MainPageController: PageViewController {
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationController?.setNavigationBarHidden(true, animated: true)
        self.navigationController?.fd_prefersNavigationBarHidden = true
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        setUp()
    }
    
    private func setUp() -> Void{
        
        let vc1 = HomePage()
        
        controllers = [HomePage(),HomePage(),HomePage()]
        titleA = ["精 选","分 类","我 的"]
        setUpData(controllers, titleA)
        
    }
    

}
